<template>
  <div class="contact">
      <div class="headline">
          aaa     fdsfsdf
      </div>
      <!-- <div class="container">
          <div class="ad-item" v-for="(item,index) in addr" :key="index">
              {{item.name}}
          </div>
      </div> -->
      <div class="container">
          <div class="ad-item" v-for="(item,index) in 3" :key="index">
              {{test}}
          </div>
      </div>
  </div>
</template>

<script>
export default {
    date(){
        return{
            addr:'',
            openId:'',
            test:[44,55,33]
        }
    },
    mounted(){
        this.openId = this.$api.getOpenId()
        this.getAddr()
    },
    methods:{
        async getAddr(){
            let result = await this.$api.address.reqReveal({openId:this.openId})
            this.addr = result.address
            console.log(this.addr);
        }
    }

}
</script>

<style>

</style>